<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">系统管理</h1>
</div>
<toaster-container toaster-options="{'position-class': 'toast-center', 'close-button':true}"></toaster-container>
<div class="wrapper-md">
  <div class="panel panel-default">
    <div class="panel-heading">
      配置中心
    </div>
    <div class="panel-body b-b b-light">
      <div class="form-group pull-in clearfix">
        <div class="col-sm-1">
          <button class="btn btn-info btn-addon" ng-click="addSet()">添加</button>
        </div>
        <!-- <div class="col-sm-1">
          <button class="btn btn-info btn-addon" ng-click="delcache()">清除缓存</button>
        </div> -->
      </div>
    </div>
    <div class="table-responsive">
      <table id="tab" class="table table-striped m-b-none">
        <thead>
          <tr>
            <th style="">编号</th>
            <th style="">说明</th>
            <th style="">key</th>
            <th style="">值</th>
            <th style="">账号状态</th>
            <th style="">开始时间</th>
            <th style="">结束时间</th>
            <th style="">创建时间</th>
            <th style="">操作</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-if="QueryLoanProductList==''">
            <td colspan="9">当前无任何数据</td>
          </tr>
          <tr ng-if="QueryLoanProductList!=''" ng-repeat="obj in QueryLoanProductList">
            <td ng-bind="obj.Id"></td>
            <td ng-bind="obj.ConfigDesc"></td>
            <td ng-bind="obj.ConfigKey"></td>
            <td ng-bind="obj.ConfigValue"></td>
            <td ng-bind="obj.ConfigStatusId?'是':'否'"></td>
            <td ng-bind="obj.StartTime|date:'yyyy-MM-dd HH:mm:ss'"></td>
            <td ng-bind="obj.EndTime|date:'yyyy-MM-dd HH:mm:ss'"></td>
            <td ng-bind="obj.CreateTime|date:'yyyy-MM-dd HH:mm:ss'"></td>
            <td>
              <button class="btn m-b-xs btn-sm btn-info" style="margin-right:10px;" ng-click="editset(obj.Id)">修改</button>
              <button class="btn m-b-xs btn-sm btn-info" style="margin-right:10px;" ng-click="Release(obj.Id)">禁用</button>
              <button class="btn m-b-xs btn-sm btn-info" style="margin-right:10px;" ng-click="Release(obj.Id)">启用</button>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
  <div class="btn-group pull-right">
    <button type="button" class="btn btn-default" ng-click="prev()"><font><font>上一页</font></font></button>
    <button type="button" class="btn btn-default btnNum">{{index}}</button>
    <button type="button" class="btn btn-default" ng-click="next()"><font><font>下一页</font></font></button>
    <span class="btn btn-default">共<span ng-bind="QueryLoanProductCount+'条数据'"></span></span>
  </div>
</div>
